Learn R Programming

zarr (version 0.2.0)

[[.zarr: Get a group or array from a Zarr object

Description

This method can be used to retrieve a group or array from the Zarr object by its path.

Usage

# S3 method for zarr
[[(x, i)

Value

An instance of zarr_group or zarr_array, or NULL if the path is not found.

Arguments

x

A zarr object to extract a group or array from.

i

The path to a group or array in x.

Examples

Run this code
z <- create_zarr()
z[["/"]]

Run the code above in your browser using DataLab